<?php

namespace App\Policies;

use App\Models\User;
use App\Models\FeedBack;

class FeedBackPolicy extends Policy
{
    public function update(User $user, FeedBack $feed_back)
    {
        // return $feed_back->user_id == $user->id;
        return true;
    }

    public function destroy(User $user)
    {
        return $user->hasRole('Founder');
    }
}
